//
//  YZFlowLayout.m
//  基本框架
//
//  Created by runone02 on 2018/7/17.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "YZFlowLayout.h"

@implementation YZFlowLayout


- (void)prepareLayout{
    [super prepareLayout];
    self.minimumLineSpacing = 0;
    self.minimumInteritemSpacing = 0;
    if (self.collectionView.bounds.size.height) {
        self.itemSize = self.collectionView.bounds.size;
    }
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
}
@end
